<div id="header"></div>
<div id="left"></div>
<div id="right">
  <%= form_tag({:controller => "init_session", :action => "register"}, :method => "get") do %>
      <% hidden_field(:actionOnPost, "register") %>
      <table>
        <tr>
          <td><%= label_tag(:userName, t(:userNameLabel)) %></td>
          <td><%= text_field_tag(:userName) %></td>
        </tr>
        <tr>
          <td><%= label_tag(:password, t(:passwordLabel)) %> </td>
          <td><%= password_field(:user, :password, :size => "") %> </td>
        </tr>
        <tr>
          <td><%= label_tag(:rol, t(:rolLabel)) %> </td>
          <td><%= select_tag(:rol, options_for_select(@rolsArray)) %> </td>
        </tr>
        <tr>
          <td><%= label_tag(:address, t(:addressLabel)) %> </td>
          <td><%= text_field_tag(:address) %></td>
        </tr>
        <tr>
          <td><%= label_tag(:mail, t(:mailLabel)) %> </td>
          <td><%= text_field_tag(:mail) %></td>
        </tr>
        <tr>
          <td><%= label_tag(:phone, t(:phoneLabel)) %> </td>
          <td><%= text_field_tag(:phone) %></td>
        </tr>
        <tr>
          <td><%= submit_tag(t(:registerButtonText)) %> </td>
        </tr>
      </table>
  <% end %>
</div>
<div id="footer"></div>